package com.agileboot.attendance.common.enums;

import com.agileboot.common.enums.BasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 打卡类型枚举
 *
 * @author ruoyi
 */
@Getter
@AllArgsConstructor
public enum ClockTypeEnum implements BasicEnum<String> {

    /**
     * 上班打卡
     */
    CLOCK_IN("1", "上班打卡"),

    /**
     * 下班打卡
     */
    CLOCK_OUT("2", "下班打卡");

    private final String value;
    private final String description;
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String description() {
        return description;
    }
} 